He was convicted because he stole the banner and burned it. Just like anyone who steals and destroys someone else's property might be.
Burning someone else's American flag would be a crime because it's someone else's flag.
You don't get a first amendment right to burn other people's stuff.