I consider myself moderately liberal.
If you have an non citizen coming to US , and this person is hostile to US, why this person allowed to come here. It's a free world, if you don't like democracy, go to the other part of non-free world.
Not letting hostile people in, it's a corner stone of any national security. It has nothing to do with liberalism. They are simply doing their job.
And yes, you can find lots ways how US is not a free country. But at least US declare this as an idea. There are countries, Iran , Russia , China have other priorities.