The book illustrates the working construction مَا زَيْدٌ قَائِمًا. In other attested usage, mā can be non-working, with a nominative predicate as in مَا زَيْدٌ قَائِمٌ.
Do not label that other construction universally ungrammatical. Here we are testing the specific working mā presented by the book.