That seems like a non sequitur. If each country were left to decide on its own, it seems that many, in fact historically nearly all, would not have open boarders. It seems like you're assuming the freedom of a group to govern themselves would result in them choosing what you personally find ideal. The world as it is now is the null hypothesis. People choose to form countries, and countries choose to have boarders.