No, you have to wage war against the United States or provide aid and comfort to its enemies. Revealing true classified information, per se, is neither necessary or sufficient for treason (one of the reason for the Espionage Act and other laws criminalizing revealing secret defense info is that those acts often won't meet the Constitutional standard for treason.)