And history shows that the Irish quickly adapted and became part of American society. It shows the anti-Irish views were unjustified racism. Same thing can be said about Trump's proposed ban on Muslims.
The Irish are White, come from a Western European country, and thus share many of the values and customs of Western culture, such as language, religion, and governance. Adapting to American society was easy for them.
The US imports more people from non-Western nations from alien cultures than it ever did from Europe. This means it'll take more time for them to assimilate. You want to discourage balkanization in your own backyard. It leads to dangerous ghettos, festering poverty, and subversive behavior. Look to Europe for shining examples of that, or the inner cities of California closer to home.
If the Irish had a culture radically different from American culture, and they had been imported in large numbers, American culture would look different today. If America did not halt immigration from European countries like Germany, American culture would be heavily Germanic today.
This is not racism, it's common sense.

