Everything that China blocks with their national firewall is considered "illegal" in China. That is, in fact, the exact same justification, even the same wording, that was used to build the Great Firewall of China.
It's true, in many ways US law is much more just than Chinese law. But that doesn't mean that walling off US citizens from the rest of the Internet in any way is a good idea.