OK. It’s an odd way pf phrasing it, but, yes. Lying about your HIV+ status before engaging in sex with someone is a crime. That’s a true statement.
The reason i say it’s an odd way of phrasing it is that the casual reader might conclude that simply failing to volunteer the information is NOT a crime, which is not correct. But I grant that what you’re saying is accurate, if not the complete picture.