Yes, there are square plants, and square trees are precious species in the plant world. A few kilometers north of the Panama Canal in Central America, a tree with a square trunk grows. Not only is the trunk square, but its annual rings are also square.
References:
One Hundred Thousand Whys