A federal appeals judge said the United States treated alleged Nazis better during World War II than President Donald Trump's administration treated Venezuelan migrants last week.