Yes, the crime is making a false declaration (including GE or orally to CBP). That is why the advice is to always tell the truth. It may cost you something you wished you could have brought in but cut off at the pass all of the lousy potential consequences.