AA 1509 then 5X 5661 at O'Hare
Boston → Chicago → Louisville
Timetable, Chicago time
09:05AA 1509 from Boston at the gate
09:005X 5661 to Louisville leaves the gate
23 h 55 apart on the timetable, overnight
5X 5661 leaves 23 h 55 after AA 1509 arrives on the timetable: more than half a day, so not a connection we count.