Restoring force acting on the liquid when suction pump is removed is,
f = – mg ⇒ f = -(A × 2y)ρ × g
where, A = Cross – section area of U tube
ρ = density of liquid
⇒ f = – 2Aρgy
acceleration produced in liquid column
a = f/mass of liquid
Hence it is a SHM.