No.<br> These functions are called <i>harmonic functions</i>. The simplest example is $f(x,y)=xy$. More generally, the real part of any holomorphic function $\mathbb C\to \mathbb C$ is a harmonic function $\mathbb C\to \mathbb R$.