But, there are physical differences between the sexes (which really only matters in a primitive or historic setting). That’s why things like a solely female army in a setting with no/primitive birth control methods is not believable to me. Or a setting that places a high importance on having biological children like royalty or nobility without some discrimination, is not believable (this is more a society thing, but the important things in society should match what is/is not looked down upon and dictatorships are more friendly than monarchies).
My point is that you can have a society without discrimination that is logical, but there would need to be in game lore that describes that setting if it differs greatly from how a reader’s idea of that society is. Just stating something like a unisex jail without explaining it would cause some readers to question how that works and cause plot gaps (or whatever is less than a plot hole).