This makes as much sense as saying a United Airlines jet is a public forum, and your rights are being trampled on if you can't take a shit in the aisle.
If you assume that either everything is supposed to be a public forum or nothing is, then yeah. Otherwise, no.
Both are private property, yes. And you are correct that twitter legally has as much right to do whatever they want with their product and restrict it however they want as United Airlines does. That's not the point being made here at all and has nothing to do with the discussion at hand.
The parent comment I originally replied to was saying "how can twitter even he a public square if it is a private company, that's a contradiction". And I was just saying that there is nothing preventing a private company from having a product that behaves like a public square, hence that isn't a contradiction or an oxymoron.
The government is meant to serve the public good. The workings of the government are oft opaque, and may need to be concealed, in the pursuit of that public good.
Both are private property.