In this short note we obtain a converse to the Gelfand theorem: a Riemannian manifold is homogeneous if the isometrically invariant operators on the manifold form a commutative algebra.