I assume you are using Linux, BSD, Solaris and the likes as your source for that thought process?
Yes. And that's why I said "as a rule of thumb". It's not always the case. Linux is more secure than Windows or OS X etc. But one cannot use this argument to say Android is more secure simply because it's open. Android and iOS differ in way too many ways involving security. So open vs closed is not the sole focus here.