A capitalist country warmly welcomes all rights-respecting individuals regardless of color, religion, sex, nationality, creed, race, etc.
There is no “right” to travel onto someone else’s property without permission of the owner — and by extension, no one has the “right” to enter a given nation.
Under capitalism, it is the government’s responsibility to prevent the entrance of terrorists and other rights-violating individuals from entering the country by securing a nation’s borders.
The government may not limit entry due to quotas, and other collectivist forms of immigration restriction.
‘Ideological profiling’ to the extent that it is used should be severely delimited to searching out those who will commit violations of individual rights, and not as a blunt instrument to collectively ban peaceful individuals by group association.
Government’s job is not to mandate what languages one speaks, no more then it is to mandate the content of what one says.
A capitalist country secures its borders just like an individual secures their property: borders are closed to rights-violating individuals, and open to rights-respecting individuals.