If the airline is at fault for the delay and your flight doesn't board before 11:59 p.m. local time on your scheduled arrival day, American may be able to cover the cost of an overnight stay. If you decide to book a room yourself and only follow up with the airline afterward, it's unlikely they'll reimburse you.