In MEX, for example, crews just stroll about the "international area" without clearing immigration (if they're turning with the same aircraft). I imagine that that's what happens a lot of the times outside of the US, where "international areas" are the norm.