Leonard received his PhD from Princeton and being Faculty / Researcher, he would own or have access to his Doctoral Regalia for Princeton University.
Sheldon refers to graduate wearing 'those pointy hats.' If Sheldon 'knows all' and is a genius, he would know to refer to them as mortar boards.