To keep invaders out, of course.
You just said seismic sensor would do the job. Why spend a FORTUNE on a wall?