There is a pretty simple test one can use to figure out which way to run a country is actually preferred by people:
Some countries put border with barb wires, walls, armed guards, etc. to keep people out. Other countries did that to keep people in.
Some countries put border with barb wires, walls, armed guards, etc. to keep people out. Other countries did that to keep people in.
The fact remains that migration flows tell us where people actually want to live.