Xbee to MKR Wifi 1010

I'm trying to get the Wireless Gamepad v2 to talk to the Arduino MKR Wifi1010 board. The gamepad basically has an Arduino Leonardo inside with an Xbee module. The sample code says to use Serial1.**() to initial communication via the Xbee module to other wireless peripherals. However, I'm unclear whether the MKR board can receive these serial messages. Are there any examples out there that explain how to receive incoming messages via Xbee? The samples I've found for the MKR board don't really seem to cover this and are more for networking via the internet. Can the MKR board even do this?