Gengar vs Yamai Kaguya: who would win?

Yamai Kaguya favored — Slight edge (~55%)

Gengar · Pokémon · Gengar

Tier
6-C
Attack Potency
Island Level
Speed
Massively Hypersonic+, up to Ftl
Durability
Island Level

Yamai Kaguya · Date A Live · Spirit Form

Tier
6-C
Attack Potency
Island Level
Speed
Ftl
Durability
Island Level

A heuristic estimate from normalized VS Battles Wiki stats: tier, attack potency, speed and durability.