As with most Sonic characters, Shadow the Hedgehog's orientation has never been officially addressed. Nothing in the games defines it one way or another, so any confident answer online is really just guesswork. Until Sega says otherwise, it remains genuinely unknown.