Let $ f: \mathbb{R} \to \mathbb{R} $ given by
\begin{equation*} f(x) = \left\{ \begin{array}{rl} x \log x -x & \text{if } x \geq 0\\ \infty & \text{if else}\\ \end{array} \right. \end{equation*}
What are the subdifferentials $\partial f(0)$ and $\partial f(1)$?
Definition: The set of all subgradient of $f$ at $x$ is called the subdifferential of $f$ at $x$:
$$ \partial f(x)=\{\alpha \in \mathbb{R}: f(y)\geq f(x) +\langle\alpha, y-x\rangle,\ \forall \ y\in \mathbb{R} \}$$
The function is differentiable for $x>0$ with $ f'(x) = \log(x) $.
Since the function is differentiable at $x=1$ we have $\partial f(1) = \{f'(1)\}$ and then $ \partial f(1) = \{ 0 \} $.
I'll assume that you are setting $f(0)=0$. Suppose $\alpha \in \partial f(0)$, then $$ f(y) \geq f(0) + \langle \alpha, y-0 \rangle = \alpha y $$ for all $y\in \mathbb{R}$. That holds for $y \leq 0$, assume now $y>0$, then we have $$ y\log(y) - y \geq \alpha y \Rightarrow \log(y) \geq 1+\alpha $$ but since $\lim_{y\to 0}\log(y) = -\infty $ for any $\alpha$ we can find $y$ such that $\log(y)<1+\alpha$. Therefore: $$ \partial f(0) = \emptyset $$