Just use MISMATCH.
The last element ought to be NIL; we inspect all but the last element.