  Using the statistical description common to random waves and quantum fields
we show how the probability of having a nodal line close to a (translationally
symmetric) reference curve $\gamma$ is related to the Casimir energy of an
appropriate configuration of conductors.
