Depends on your insurance policy. Most policies will say that they will deny it. However, in my experience most insurance companies don't strictly enforce this provision. You should make the claim and see what they say.
You would need to read your insurance policy to see exactly what is and what is not covered every policy is different although some common rules are present which generally prevent purposeful acts or acts against the law.