Objectively, what is the best thing for your child? Imagine someone external who knows all the details but isn't involved - where would they think it's best for your child to be?
I think you haven't considered that question (at least in your posts) - it's the question that social services would consider. Your post is mostly about resentment against your sibling and how you should have been consulted.
Your story has really moved me because I can imagine being in this position if my sister had ever had kids. I'm sure she'd be a very loving and affectionate mother, but her MH/complex needs means that for a long while she never had a job, and she's been sectioned before, and she's (in the past at least) been very emotionally unstable and prone to lashing out. You say you're financially stable due to an inheritance; I'm doing 2+2=5 I know, but I wonder if, like my sister, you haven't been able to work, and the reasons behind that might also affect your home life too. My sister goes thru feast and famine periods, both with money and with her mood, and that's hard for others to live with.
By comparison my sister has (I think) always seen me and my husband as ever so rich (we only are in comparison to her, as we have two incomes) and painfully conventional etc etc, and she'd never understand why people would prefer to live like I do, on an even keel.
I'm not saying you're like my sister necessarily, you haven't given us enough info obvs! I'm just telling the story of my family and saying that I can possibly see your sibling's POV.