There are different types of interrupt capabilities of pins. For example, although only pins 2 and 3 of the Arduino Uno have the external interrupt capability required by attachInterrupt(), all the Uno's IO pins have pin change interrupt capability. You are welcome to use the interrupt functionality of pins 2 and 3 on your MKR Zero. You just can't use them with attachInterrupt().