If he's shooting .223 and at those ranges at night, I don't think neighbors are a problem and most people with real gardens already use an electric fence.
No matter how far away the neighbors are, he still has neighbors. (unless perhaps he lives on an island). Putting up a fence and just letting the varmints live just moves the problem to his neighbors' land.
Around here "real gardens" are several acres and most do not have electric fences.
Controlling damage to large fields from marauding wild hogs is a whole different animal.