A Pokemon may be Legendary when there are considerable myths and stories surrounding it. A Pokemon is also legendary when there are very few in existence, or if they are so elusive they appear to be "of myth."
Legendary Pokemon may also have more power over nature than the average Pokemon.
All in all:
-So rare there are very few of them, possibly only one, in existence
-Involved in (ancient) myths and/or culture, or have power over a specific force of nature (weather, time, etc.)
-Cannot breed with other Pokemon
-Are more powerful (and destructive) than the average Pokemon
is the basic criteria.
The Legendary Birds appear to be a little more common than the average Legendary, but because of their status as elusive Pokemon, they're legendary (actually, this trio is a bit harder to support as a Legendary, since it's accepted there are more than one of each, and aren't much rarer than Pokemon like Togepi or Riolu). Mew's DNA has been traced to be the source of all Pokemon life, and yet, Mew is rare. It's logical to assume that Mew is every Pokemon, so perhaps it's rare because it's DNA is the only one to contain every existing Pokemon's genetic code (excluding, perhaps, Jirachi, the Clefairy line and Deoxys). Mewtwo is a Legendary because it is one-of-a-kind, and is a clone of the mother of the entire Pokemon species.
The Legendary Beasts, Ho-oh, and Lugia have considerable mythology surrounding them, and while Ho-oh and Lugia have been confirmed to exist, they still are considered Legendary because they are so rare, powerful, and hard to locate. Celebi is considered a myth, I would presume.
The Weather Trio have been worshipped (IIRC), and have a supposed dominion over weather. Therefore, they're "legendary." The Golem Trio were manmade Pokemon, used as keys to lock away Regigigas. Therefore, they (should technically be) one-of-a-kind, or at least not "natural Pokemon", therefore earning them a spot as Legendaries. The Lati@s are elusive, and so far, only one of each has been reported worldwide (if you consider that they've only been present in RSE). Jirachi and Deoxys are from outer space, and Deoxys specifically is a virus that gained sentience, so it may not be a Pokemon at all (though it's classified as one). Whether or not Jirachi and Deoxys are a part of Mew's genetic code relies on whether or not it's accepted that Pokemon exist on other planets. In any case, as they're from another world (or simply space), they are legendary (to those in the Pokemon world).
Arceus is called "The Creator", who apparently made the entire world and introduced Dialga, Palkia, Giratina, Mesprit, Azelf, and Uxie. It's possible that Mew was involved in this somehow as well. Arceus, as "The Creator", is likely the only one of it's kind, and therefore is Legendary. Because of the significant myths surrounding the Dragon Trio, as well as their dominion over Time, Space, and Antimatter, they are Legendary. The Lake Trio created the Mind, Will, and Emotion in humans and Pokemon--therefore, they could be considered something likened to "deities", and are Legendary (there are, as of right now, only one of each known to be in existence, as well).
Darkrai and Cresselia are creatures of myth, and while they are known to exist, they are elusive, and most likely one-of-a-kind. So, they are Legendary. Heatran apparently has dominion over volcanoes (or, specifically, Stark Mountain's volcano), so it is legendary to the Sinnoh region. Manaphy and Phione are, like the Bird Trio, simply rare, though they are probably closest to non-Legendary that any of the other Legendaries can get, as they can breed normally. In this respect, Phione is less of a Legendary than Manaphy is. Shaymin is simply rare and hard to find.
I think being a Legendary also ties into the Pokemon having a generally-accepted "high status", that is, they're renowned for their power and rarity, and therefore are set into a different class than other Pokemon.
...
Feel free to completely tear this apart, as I'm sure this has a ton of holes and mistakes in it. I wasn't exactly thinking clearly when I wrote this...I only ask you don't rip it apart in a totally condescending way and...
*Looks at Signature*
Hmm.