There is so much to say about this — I didn't even get in to the question of how NY is defining "benefits of investments" (it hasn't done so yet.) But if you're interested in how Justice40 might work, this story provides deep background on the subject.
"New York’s sweeping climate law will prioritize environmental justice communities — once it decides who they are."