SoftI2C with MKRZero

You forgot the link to your library but from the short excerpt you posted it seems that only AVR CPUs are supported.

The SoftWire library (not to be confused with SoftwareWire library which is also for AVRs only) uses the Arduino primitives and should be compatible with most platforms available in the Arduino IDE. But it's not API compatible with the Wire library so you need to change a lot to adapt a library built for the Wire library to the SoftWire library.