AA 9866 then UA 5788 at O'Hare
Bloomington-Normal → Chicago → Madison
Timetable, Chicago time
13:11AA 9866 from Bloomington-Normal at the gate
12:48UA 5788 to Madison leaves the gate
23 h 37 apart on the timetable, overnight
UA 5788 leaves 23 h 37 after AA 9866 arrives on the timetable: more than half a day, so not a connection we count.