Wikipedia is not a directory. It is an encyclopaedia. It is notability that stops Wikipedia from becoming a directory instead of an encyclopaedia.
The primary criterion for notability is whether the subject of an article has been the subject of non-trivial published works by multiple separate sources that are independent of that subject, which applies to all classes of subjects.
For certain classes of subjects, we augment that primary criterion with secondary inclusion criteria that ensure that our coverage of certain topics is coherent.