Cal. Welf. & Inst. Code § 11014
To the extent that any provision of this part prohibits the granting of aid to persons confined in a public institution for tuberculosis or mental disease or as a result of the diagnosis of tuberculosis, intellectual disability, or psychosis permitted by federal law, that provision shall be inoperative.