Nintendo apparently use multiple engines, but the main one these days seems to be Lunchpack, which was used in the Splatoon games, Animal Crossing New Horizons, ARMS, Switch Sports, and LABO.
It seems to work well for their purposes, and since they know their own hardware better than anyone, it's probably one of the best optimized. It may not push the boundaries of what's possible, but it seems adept making games that look clean and run smoothly.