If your home is destroyed as a result of the wood being eaten away by beetles, it is tax deductible.
If your home is destroyed as a result of the wood being eaten away by termites, it is not tax deductible.
This is the result of an elaborate study conducted by the IRS on termite eating habits and destruction patterns for homes infested with termites. They have, in fact, created a regional map to indicate in which regions termite loss is tax deductible and in which it is not.