How are you conflating free market with socialism?
One has nothing to do with the other
Per stopping illegals, don’t need a wall, just make it impossible to buy a car, get a license, open a bank account, cash a check, go to school, any benefits etc without citizenship, furthermore make it illegal for any government agency or tax funded entity to offer anything in any language other than English, and make not being able to speak English reason to hold someone until they can show proof of citizenship or a tourist visa.
That right there would make a major dent in the illegal problem.
The other would be using the national guard at the border, kinda is even in their name, just a little chain link fence, buffer zone and warning that it’s a live fire area (that sign can be in Spanish and English), don’t provide the guard with cuffs or jail cells, just extra mags.
Want to come here do it legally