Do Nyquist samples have the same sum as the integral of the signal?
The equation in your question is correct. If we assume that $x(t)$ is an ideally band-limited signal with bandwidth $B$, then, according to the sampling theorem, we have

$$x(t)=\sum_{n=-\infty}^{\infty}x(nT)\frac{\sin\left[\pi (t-nT)/T\right]}{\pi (t-nT)/T}\tag{1}$$

where the sampling rate $1/T$ satisfies $1/T&gt;2B$.

If we assume that the integral over $x(t)$ exists, using $(1)$ we obtain

$$\begin{align}\int_{-\infty}^{\infty}x(t)dt&amp;=\int_{-\infty}^{\infty}\sum_{n=-\infty}^{\infty}x(nT)\frac{\sin\left[\pi (t-nT)/T\right]}{\pi (t-nT)/T}dt\\&amp;=\sum_{n=-\infty}^{\infty}x(nT)\int_{-\infty}^{\infty}\frac{\sin\left[\pi (t-nT)/T\right]}{\pi (t-nT)/T}dt\\&amp;=\int_{-\infty}^{\infty}\frac{\sin(\pi t/T)}{\pi t/T}dt\cdot \sum_{n=-\infty}^{\infty}x(nT)\\&amp;=T\sum_{n=-\infty}^{\infty}x(nT)\tag{2}\end{align}$$

where the last equality follows from the fact that the integral in the one but last line just equals the DC value of an ideal low pass filter with gain $T$.