This interview would indicate that he understands that, and wants to restrict immigration for that very reason: https://www.youtube.com/watch?v=vf-k6qOfXz0
Edit: The interview is from 2015, so it may be that his understanding has 'evolved' since.
Most border crossings aren't even prosecuted. https://trac.syr.edu/immigration/reports/520/
Increasing the number of them being prosecuted places a massive burden on the court system and results in the various unjust scenarios we have today. https://www.nytimes.com/2018/06/19/us/border-immigration-cou...
There isn't any evidence that criminalization decreases the number of border crossings either. https://www.oig.dhs.gov/assets/Mgmt/2015/OIG_15-95_May15.pdf
Indeed, immigration levels haven't decreased under trump despite the massive increase in prosecutions.
Given this, it isn't absurd to think that other approaches would be at least as effective at controlling immigration in practice.
The only reason why it's 'cheap' labour is because traditionally immigrant labor has been used for things that either Americans won't do (due to low pay) or through corporations not being punished. This situation is why H-1B abuse is prevalent among certain companies: They hold the deportation card over immigrants, which then gives them market leverage to pay them less by having them fear losing or switching jobs.
This is an issue paradoxically supported by the modern right, because it's usually farmers and larger corporations that benefit the most. The fixes that the modern right realistically want is the ability to eliminate minimum wage and further destroy workers rights because it makes labor cheaper which in turn boosts profits.