Why do birds sleep like that?

Nearly every bird I have ever had the opportunity to observe sleeping (and I have seen many birds asleep, ranging from budgerigars to Peregrine falcons) has slept standing on one foot with its head turned around backwards and its beak stuffed into the feathers on its back. The sole exception was a Peregrine falcon named Arty, who, for some strange reason, liked to sleep leaning his beak against the lighted sign on a bank building, but then Arty was a bit strange…

This does not seem to be the ideal position for sleeping.

But they all do it. Ducks, parrots, finches, falcons.

Why?

Probably because it minimizes heat loss. Birds lose heat largely through their unfeathered surfaces, such as the legs and bill. By pullling one leg up into their feathers, and placing the bill inside the plumage too (and perhaps exhaling heated air into it) they will save the maximum amount of heat when they are not active.

I’m not too sure about the one-legged thing but this website addresses the issue of the wing tuck.

The one-legged posture also allows them to rest their feet, one at a time.

Scarlett, who has owned 4 birds (parakeet, lovebird, two cockatiels)