It's somewhat like lying about a credential.
If the potential recruitee said "I'm looking for $X" they're not deceiving anyone.
It's total BS that a potential employer would base their offer on your current salary, but at the same time lying about what you currently make is dangerous