meta query to check the array value code example
Example: wp query meta in array
$args = array(
'post_type' => 'news',
'meta_query' => array(
array(
'key' => 'topics',
'value' => array ( 'sports', 'nonprofit', 'community' ),
'compare' => 'IN'
)
)
);