Never forget that you are missing quotation marks (").
try the following:
$('input[name="concat[0][state]"]').val('NY');
I know that parentheses will be a problem as an identifier, but as a property, it should work fine while they are in quotation marks.
by adding more information, you can also avoid parentheses, but you should still keep them in quotation marks.
$('input[name="concat\\[0\\]\\[state\\]"]').val('NY');
source share