Huh. I'd always assumed the zip code was validated against the card's billing address but maybe it's actually for some kind of market research. I'll have to try myself.
Following up: I tried a valid but incorrect zip code recently and the transaction was declined. Presumably this is because there is a valid one associated with my account?