That's nonsense. Immigrants have always been subject to inspections and requirements to fit societal standards. Storekeepers and others also freely practiced discrimination (Jews, Irish, Germans, Asians, etc.).
I'm not saying I agree or disagree with either side on this debate. I'm saying that the setting of standards and rejecting immigrants who fail to meet those standards is well established in American history (sometimes with tragic consequences).