This is true. Alex Isaev pointed out to me that it is Theorem 4.6 from `A geometric criterion for algebraic varieties' by Rudin. It also maybe follows from proposition A local version is proposition 4 of Serre's GAGA paper combined with Cartan's theorem A.