Earlier quoted context omitted.
Unfortunately the article author uses the exact same terminology: > (It’s somewhat counterintuitive that the zero dimension is not the first one in the array.)
No, this is a quirk of the English language that I'm not sure how to describe generally. Best I can do: "Dimensions" plural agrees with "zero" as a count, so that reads as "the count of dimensions is zero". But they used singular "dimension" with "the" which treats "zero" as an adjective. It means "the dimension that is zero".
Out of curiosity, how do you rate each of:
"Arrays can have a zero dimension."
"Arrays can have two zero dimensions."
"Arrays can have some zero dimensions."
"Arrays can have zero dimensions."
in this regard?