“They” is plural.
I know.
Singular should be *it*, as in *he/she/it*, which is actually more precise in these kinds of cases.