Answer
Volume of the gas decreases.
Work Step by Step
As XY is formed, the net number of gas particles decreases. Since pressure stays constant (piston is free to move) and temperature will stay close to constant, since number of gas particles halves, volume should about halve as well.