Plus the Espionage Act, a Congressionally created statue, cannot apply to the President. Separation of Powers violation.
The NYT knows their readers will not be able to make that distinction.