How compatible is the Xiao to an Arduino e.g. Nano?

The pin the interrupt on is ultimately declared via StartInterrupt(interrupt). Library DCC_Decoder called that in routine SetupDecoder() & uses the 3rd parameter. Find those & trace them back to your program.

Is Data stream in pin A2/D2 ?

Did you try the trap in the ISR routine called out a couple of messages back ?