What sort of nuclear war are we talking about here? Limited or all-out? (Used to be you didn’t have to ask that question, but with new players with only 1 or 3 nukes there might indeed be limited exchanges)
A nuke explosion puts out a LOT of electromagnetic garbage, which is often abreviated EMP. It fires electronics, except for specially designed sorts limited to the military. If an airliner (for example) is in range of a nuke’s EMP pulse all of it’s navigation and radio equipment will be fried. If you’re on a “fly-by-wire” plane with a computer interpreting the pilots inputs you are in big, big trouble. Other airplanes, with a hydraulic link between pilot and control surfaces, will probably be OK in this regard. In fact, you’re best bet may be a small commuter plane with hydraulic and mechanical linkages.
However, I don’t see any airplane coping well with the massive shockwave, pressure changes, and other abrupt atmospheric changes associated with close proximity to a nuke blast. The shockwave is initially super-sonic - very hard to outrun. At a certain point the intensity falls off and it will be “just” the worst gosh-darned turbulence you’ve ever experienced. Eventually the shockwave dissipates, but that’s quite a distance out from ground zero.
If the airplane is far enough out from the center of a nuke explosion that it can survive the shockwave it should continue to be flyable to a landing, unless it’s a fly-by-wire with fried computer chips. Even if radios are non-functional and some controls are wonky. Big Boeings have been landed safely even after severe damage (significant portions of the fuselage missing, complete power loss, and other fun stuff).
So if you have just one or two such blasts, planes close in might be destroyed but the rest of them flying throughout the world should be OK. I would expect a repeat of the Sept 11 “everybody out of the pool” sky evacuation, but we’ve been there, done that. We now know we CAN land and find parking spaces for everybody. I would expect folks to land as soon as possible, and not divert to a foreign location unless they’re right on the border anyway.
And one nuke exploding in North America, no matter how big, is not going to affect the entire continent (it’s a big place). Nuking New York will upset folks in California (or vice versa) but it will not endanger flights in the air over Los Angeles
Now, if you were talking a major, major exchange of many nukes THAT’s a slightly different problem. There are remote areas with sufficient flat to perform an emergency jet landing, assuming the military isn’t just shooting everybody down by then, and assuming anyone escapes the multiple shockwaves thundering about. If you aren’t worried about taking off again afterward, a straight stretch of freeway would do. So would a dry lakebed. Whether or not anyone survives much longer after that landing would depend on fallout, food resources, and weather effects.
If it’s a major exchange a LOT of folks airborne will die either from the immediate blast or an uncontrolled plane crash. Depending on how extensive the exchange is, some folks may be able to land in one piece.
As for astronauts - they would escape the immediate effects of blast, fallout, and so forth. The real problems are
-
whether their usual landing spot is still functional
-
if not, what alternatives are avilable (dry lakebeds, for instance)
-
if they must use an alternative, how to navigate to it, in which case the continued existance of mission control would be helpful - but that isn’t likely. Could they solve the problem themselves, while in orbit?
-
how extensively the war affects weather patterns over their landing spot
-
and, as with the airplanes, will they be able to survive afterward even if they make a safe landing.