This isn't close to the dumbest idea that Trump has floated, but requiring an "ideological test" for immigrants assuming that it will screen out terrorists is pretty stupid. The only way to test for ideology is to ask applicants what they believe. Any terrorist who isn't mentally handicapped will easily give the "right" answers regardless of what he or she really thinks.