Hoarding illegal material is a crime (and not a thought crime.) We call it 'recel' in French. Not sure what is the legal term in English, 'fencing' is argotic, right?
Or how about classified information. Is it thought crime to have classified information you aren't allowed to have? "But it's only bits, how can bits be illegal?"