the_field('is_neighborhood') directly prints the value. it returns null. Use get_field('is_neighborhood') on place of it.
$is_neighborhood = get_field('is_neighborhood'); // Get the field value
echo $is_neighborhood; // Print it to verify
if ($is_neighborhood == 'Yes') {