Conditional statement checking two conditions for CPT and Custom Taxonomy [closed]

Yes because your code has syntax error. It should be this.

if ( is_singular('my_cpt') && ( has_term( 'myterm', 'mytaxonomy', $post->ID ) ) ) {

}

Did you notice if condition should close just after is_singular('my_cpt').