In the USA yes it is. There are numerous States that have specific laws that cover this. For example in New Mexico you can receive a Life Sentence for having such material on your hard drive.
You will need to check your Local, State, or National Laws.
But personaly I think any one who has this type of material is a real sicko, and should get what they have coming.