How? By looking the other way?
Entering a country illegally via airports is a lot different from sneaking in through a grassland desert by jumping across an unguarded fence.
In the former case, the entrant’s location and identities are well documented.