The Eurasian magpie is believed not only to be among the brightest of birds but among the most intelligent of all animals. Along with the jackdaw, the Eurasian magpie’s nidopallium is approximately the same relative size as those in chimpanzees and humans, significantly larger than the gibbon’s. Like other corvids, such as ravens and crows, their total brain-to-body mass ratio is equal to most great apes’ and cetaceans’ (Wikipedia)

The Eurasian Magpie is believed to be among the most intelligent of birds, and among the most intelligent of all animals. Magpies have been observed engaging in elaborate social rituals, possibly including the expression of grief. Mirror self-recognition has been demonstrated in European magpies. The magpie is thus one of a small number of species, and the only non-mammal, known to possess this capability. The cognitive abilities of the Eurasian Magpie are taken as evidence that intelligence evolved independently in both corvids/crows and primates. This is indicated by feats such as tool use, their ability to hide and store food across seasons, episodic-like memory, and the ability to use one’s own experience in predicting the behavior of conspecifics.