JSFiddle - React, Tailwind, and code Playground

HTML

<div class="optionCatergory sade">
    <label class='searchClick'><input type='radio' checked='checked' value='A'>A</label>
    <label class='searchClick' ><input type='radio' value='b'>B</label>
</div>
<div class="optionCatergory view">
    <label class='searchClick' ><input type='radio' checked='checked' value='1'>1</label>
    <label class='searchClick' ><input type='radio' value='2'>2</label>
</div>

JavaScript

$(document).ready(function() {
    var array = new Array();
    
    $(".optionCatergory input[type='radio']:checked").each(function () {
        array.push($(this).val());
    });
    
    console.log(array);
});