Like, I'm "Texas from Texas"- my anglo ancestors go back before the 1836 revolution.
But I'm not a racist so I have often been told that I'm "not really from Texas".
It's the same vibe here. I'm way more worried about the fact that they wouldn't let me back into the country if I had to pass an ideological litmus test than I am worried that someone with illiberal beliefs is going to join the other theocrats in Texas.
If someone has "bad" ideas and they keep them to themselves by having private social media accounts, it's crazy to think it's a risk to society.
Countries already have rules to deal with hate speech, inciting riots, etc.
People can believe whatever they like as long as they don't become a movement dedicated to murdering those they don't like.
Historically, observably, and objectively, the US right has much more of a history with political murder than the left does.
This isn't some ideological purity test about "liberalism". This is about maintaining a culture that supports a broad spectrum of views in a peaceful way.
When the state itself crosses that line the state itself becomes oppressive, and would-be residents should be asking themselves whether that's the kind of state they want to live in, or visit.
I, personally, don't see a problem with creating an ideological test for certain kinds of visa holders or permanent residents. As Karl Popper noted in outlining the paradox of tolerance, unlimited tolerance can lead to the destruction of tolerance itself. I think it's worth exploring ways for the government to prevent enemies of liberalism from entering the country, even if we already face illiberalism at home.
That being said, I think this specific proposal threatens personal privacy far too much to be justified.