Is it safe to assume you want kids? If he got a vasectomy and didn't not take your wishes into consideration, then you have a problem in your marriage.
I have no idea why this would be against the law. He is free to do what he wanta to his body, just like you are free to do whatever with yours.
If you want kids and he got the vasectomy anyways, then maybe its time to see a divorce attorney.