This is the case right now. Ramping up deportation as Trump has suggested would obviously not yield better results. The immigration courts right now have a backlog of more than half a million cases [5]. I've not even touched stop-and-frisk, religious profiling, etc.
Now, and this part is speculation, this part of history comes to mind: [6]. If it's TLDR, then search for "repatriation".
[1]: https://www.justice.gov/eoir/office-of-the-chief-immigration...
[2]: http://naij-usa.org/wp-content/uploads/2016/01/2016-01-14-Re...
[3]: https://www.washingtonpost.com/national/in-a-crowded-immigra...
[4]: http://www.newyorker.com/magazine/2013/04/29/the-deportation...
[5]: http://trac.syr.edu/whatsnew/email.160915.html
[6]: http://www.npr.org/2015/09/10/439114563/americas-forgotten-h...
Edit: Bonus: http://www.theatlantic.com/politics/archive/2016/09/trumps-p...
Lots of people openly say that we should tolerate illegal immigration either for economic or humanitarian reasons, and I've never seen such an argument applied to them.
var iceberg = { tip : "Donald J. Trump is calling for a total and complete shutdown of Muslims entering the United States until our country's representatives can figure out what is going on" }
https://www.donaldjtrump.com/press-releases/donald-j.-trump-...If you want a historical analogy that helps you to better connect with the situation under question then I would recommend to think about immigration of Germans into South America after WWII.
This is what at least comes into my mind. I do not know if this analogy would be fair to either parties.
Also it does not follow that I would recommend you to support one of the candidates based on this. If you happen to be an American.