Is it illegal to smoke salvia?

No, but if you get caught doing it, you get in huge trouble. If you don't get caught , well, you don't get in trouble.