Logically this could never work.
The US immigration system doesn’t allow supporters of the Nazi regime, for example. There is a direct question in the citizenship form - “Have you ever been a member of a group such as…”.
The Supreme Court generally allows exceptions to Constitution rights if the government can’t implement an otherwise legal law that the government is entitled to implement - like screening immigrants.