Given that $X,Y\stackrel{\text{i.i.d.}}{\sim}\text{Exp}$ with mean $\lambda(>0)$ and $Z=\mathbf{1}_{X<Y}$, what is $\mathbb{E}(X\mid Z=z)$ ?
We have $Z=1$ with probability $\Pr(X<Y)$ and $Z=0$ with probability $1-\Pr(X<Y)$.
But $\Pr(X<Y)=\frac{1}{2}$ as $X$ and $Y$ are i.i.d. random variables.
Does this mean I can simply say that $Z\sim\text{Ber}\left(\frac{1}{2}\right)$ ?
Then, $\mathbb{E}(X)=\mathbb{E}(X\mid Z=0)\times\frac{1}{2}+\mathbb{E}(X \mid Z = 1) \times \frac{1}{2}$
$\implies2\lambda=\mathbb{E}(X\mid Z=0)+\mathbb{E}(X\mid Z=1)$.
But I cannot conclude anything from here. I couldn't find the conditional distribution of $X\mid Z$ either. Maybe I have to condition on another variable $U$ so that $\mathbb{E}(X\mid Z)=\mathbb{E}\,[\mathbb{E}(X\mid Z,U)\mid Z]$.
By definition, since $P(Z\in\{0,1\})=1$, $E(X\mid Z)$ is the random variable equal to $$E(X\mid Z)=E(X\mid Z=1)\mathbf 1_{Z=1}+E(X\mid Z=0)\mathbf 1_{Z=0}$$ and, for every $z$ in $\{0,1\}$, $E(X\mid Z=z)$ is the real number equal to $$E(X\mid Z=z)=\frac{E(X;Z=z)}{P(Z=z)}$$ In your case, $P(Z=1)=P(Z=0)=\frac12$ by symmetry.
To complete the formulas for $E(X\mid Z)$ and $E(X\mid Z=z)$, note that, by independence of $(X,Y)$, $$P(X<Y\mid X)=1-F_Y(X)=e^{-X/\lambda}$$ hence $$E(X;Z=1)=E(X;X<Y)=E(Xe^{-X/\lambda})=\int_0^\infty xe^{-x/\lambda}\,e^{-x/\lambda}\,dx/\lambda=\lambda/4$$ and $$E(X;Z=0)=E(X)-E(X;Z=1)=3\lambda/4$$