Its nothing new. The US screened for “anarchists” and socialists before WWI and certainly screened for Communists during the Cold War.
It’s certainly “new” in the past 60 to 70 years.
Nobody talks about requiring ideological tests.
Maybe he could figure out a way to pry the marxists, commies, and islamists out of Congress while he’s at it.