You searched for: “andromonoecism”
andromonoecious, andromonoecism
In botany, having male and hermaphrodite flowers on the same plant.