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 4 of Serre's GAGA paper.