First make the custom post query with the WP_Query, and then we get the metadata by get_post_meta. Checkboxses are saved as boolean, that means either true or false. So make a check in the loop if checked or not (1=true, 0=false).
<?php get_header(); ?>
<?php
// The Query
$the_query = new WP_Query( array(
'post_type' => 'books',
'posts_per_page' => -1,
));
// The Loop
while ( $the_query->have_posts() ) : $the_query->the_post();
$checke_meta = get_post_meta( $post->ID, 'rw_title_block', true );
?>
<?php if( $checked_meta ) {
echo 'Do stuff here if checked';
} else {
echo the_title();
}
?>
<?php
endwhile;
// Reset Post Data
wp_reset_postdata();
?>
<?php get_footer(); ?>