The comparison is implicit. However the definition of Y is not. Assuming that Y must represent Democrats just because X represents Republicans is viewing the world in a binary and unnecessarily partisan way. Y could just as easy be some neutral, nonpartisan, or completely imaginary option dreamt up solely for the sake of comparison.
Is an implicit comparison between X & an unstated Y