Talking about season 1, episode 14, “Gender Bender.” You remember: the white-clay sort-of “Amish” one?
Anyway, it seems to share a lot of the themes and imagery with Midsommar : free love/lots of sex, fun with distorted/altered perception, big serene meadows, but, too, a lot of the beats line up as well: there’s interlopers in this long-isolated commune, there’s a handy showcase of “what we do with our elderly,” there’s sneaking into a ritual space, there’s inbreeding being a possible issue, there’s being “sewn” into a car, there’s mind-altering pheromones, there’s being gradually “seduced” into all of this . . .
Of course X-Files, being a series, can’t end like a feature can, quite, but, still, in both cases, the commune and its whacky ways does persist to do this all over again some other day . . .