It covers US citizens and people physically present in the US.
A citizen of another country is not allowed to open carry at the border just because they showed up, for example. Similarly, there is no universal right to get a student visa.
The US borders aren't a constitution free zone. It's a region where you can search people, not anything else.