"They can find ways to go over a fence and under it. The reason WHY they want to come here will not change with the fence."
No single thing will stop illegal immigration entirely (including a fence). But, a fence will make it much more difficult and reduce the number significantly.
Probably but a lack of a fence did not create this problem.