Dark Sonic has never actually appeared in a Sonic video game. His debut was in the animated series Sonic X, where he shows up as a black, malevolent version of Sonic.
Because he began life on television rather than on a cartridge, you will not find him as a playable or story character in the mainline games.