No. Slime Rancher is a single-player, offline game on Xbox. You do not need an Xbox Live Gold (now Game Pass Core) subscription to play it.
Enjoy ranching slimes solo—no subscription needed.