You just made searching the internet for an ISBN or employing the Dewey Decimal System illegal. Congrats!
I think you instead meant to imply some sort of intent test. That gets very difficult very quickly. Figuring out how to write the RIAA's perpetual money-machine into law while not destroying section 230 or accidentally banning photocopiers is your next task.