AA 2564 then UA 3376 at O'Hare
Los Angeles → Chicago → St Louis
Timetable, Chicago time
12:21AA 2564 from Los Angeles at the gate
11:00UA 3376 to St Louis leaves the gate
22 h 39 apart on the timetable, overnight
UA 3376 leaves 22 h 39 after AA 2564 arrives on the timetable: more than half a day, so not a connection we count.