QF 3657 then AA 1854 at San Francisco
New York JFK → San Francisco → Chicago O'Hare
Timetable, San Francisco time
23:59QF 3657 from New York JFK at the gate
23:39AA 1854 to Chicago O'Hare leaves the gatealso QF 4325, PD 6392, EI 7107
23 h 40 apart on the timetable, overnight
AA 1854 leaves 23 h 40 after QF 3657 arrives on the timetable: more than half a day, so not a connection we count.