KJ 242 then AA 2774 at O'Hare
Anchorage → Chicago → New York LaGuardia
Timetable, Chicago time
23:55KJ 242 from Anchorage at the gate
12:01AA 2774 to New York LaGuardia leaves the gate
12 h 06 apart on the timetable, overnight
AA 2774 leaves 12 h 06 after KJ 242 arrives on the timetable: more than half a day, so not a connection we count.