ReLU turns a pre-activation into a hidden activation by a sign test. One positive value passes through and one negative value becomes zero.
The exact ReLU rule
ReLU is max of zero and the shown pre-activation. It is a sign test, not a sigmoid, so no transcendental value appears.
ReLU(z)=max(0,z)
The two hidden activations
Since z1=2 is positive, h1=2. Since z2=-1 is negative, h2=0.
h1=2,h2=0
Summary
The negative pre-activation is zeroed exactly. That is the whole nonlinearity in this forward pass.
z2<0⇒h2=0