Um, the USA was territories....
There were no borders as there was no country.

Once we became a country, we had *and* enforced our immigration laws and we correctly turned away any/all that could not support themselves, or who arrived sick or with other physical defects. Those returned were those destined be Public Wards (ie, welfare-) 

The rejected ones were put right back on the boat, at their costs, and sent away.