I think the truth is far simpler.
The US has had an oversaturated job-market for decades, leading to ever lowering net-wages, and a significantly shrinking middle-class. This trend is fueled by many things, like globalization / industry moving to china and india, but also heavily influenced by mass immigration. That's no partisan statement, but the simple truth. The dems still want ever more immigrants, while the republicans want to at least control that flow. People literally voted with their wallet. In mind, that is.
It's not the whole truth, but another facet of it. There are many reasons people voted for trump, but that one is among the bigger ones.
Well, it actually is also only the starting point of that argument, but talking about illegal labour and tax cost/benefit will not turn any minds, but an otherwise sound argument into a heated discussion.